Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.platform.mobile.application.definition.contribution

Contributions

XML Source

<component
  name="org.nuxeo.ecm.platform.mobile.application.definition.contribution">

  <extension target="org.nuxeo.ecm.application.definition.service"
    point="applicationDefinition">
    <application name="Mobile" order="5" disable="false">
      <applicationRelativePath>site/mobile</applicationRelativePath>
      <loginPage>/auth/login</loginPage>
      <logoutPage>/auth/logout</logoutPage>
      <requestHandlerName>MobileWithCookieRequestHandler</requestHandlerName>
      <resources>
        <resourcesBaseURL>site/skin/nuxeo</resourcesBaseURL>
      </resources>
    </application>
  </extension>

  <extension target="org.nuxeo.ecm.application.definition.service"
    point="requestHandlers">
    <requestHandler name="MobileWithCookieRequestHandler"
      disable="false">
      <implementation>org.nuxeo.ecm.mobile.handler.MobileWithCookieRequestHandler</implementation>
      <properties>
        <property name="urlSkippedPatterns">(.*)/img/(.*)|(.*)/icons/(.*)|(.*)/nxfile/(.*)|(.*)/nxbigfile/(.*)|(.*)/restAPI/preview/(.*)</property>
      </properties>
    </requestHandler>
  </extension>

</component>